package com.hopu.blb_erp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

import java.time.LocalDateTime;

@TableName(value = "t_iom_warehouse")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TIomWarehouse {
  @TableId(type = IdType.AUTO)
  private long id;
  private String iomGoodsno;
  private String iomGoods;
  private String iomName;
  private String iomArea;
  private String iomShelves;
  private String iomCargoloca;
  @TableField(exist = false)
  private List<TIoWarehouse> tioWarehouses;
  @TableField(exist = false)
  private List<TMenu> tMenus;
  @TableField(exist = false)
  private List<Commodity> commodities;
  @TableField(exist = false)
  private TIoWarehouse tioWarehouse;
  @TableField(exist = false)
  private TMenu tMenu;
  @TableField(exist = false)
  private Commodity commoditie;
  @TableField(exist = false)
  private List<TIomWarehouse> tIomWarehouses;
  @TableField(exist = false)
  private List<TCargo> tCargos;
  private LocalDateTime iomTime;
  private String iomNo;
  private Integer iomFlag;
  private Integer iomNumber;
}
